.scure-list {
  height: 100%;
  padding: var(--padding);
  background-color: #f8f8f8;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 0.2fr));
  grid-template-rows: repeat(auto-fit, 260px);
  overflow-y: auto;
  gap: 8px;
  .card {
    width: fit-content;
    background-color: white;
    padding: var(--padding);
    border: 1px solid transparent;
    border-radius: var(--radius);
    height: fit-content;
    .toolbar {
      top: 0;
      position: absolute;
      height: 100%;
      display: flex;
      align-content: center;
      right: 8px;
      opacity: 0;
      &:hover {
        .tips {
          opacity: 1;
        }
      }
      .tips {
        background-color: #333;
        color: white;
        white-space: nowrap;
        top: -20px;
        opacity: 0;
      }
    }
    &:hover {
      box-shadow: 0 0 5px #8d8d8d73;
      .toolbar {
        opacity: 1;
      }
      .line {
        opacity: 1;
      }
    }
    input,
    textarea {
      width: 100%;
      border-radius: var(--radius);
      font-size: 12px;
      color: #333;
    }
    input {
      height: 30px;
    }
    textarea {
      height: 52px;
    }
  }
  .card.active {
    border: 1px solid var(--primary);
    color: var(--primary);
  }

  .card-title {
    input {
      border: none;
      padding: 0;
      font-size: 24px;
      height: 32px;
    }
  }
  .line {
    width: 50px;
    background-color: var(--primary);
    opacity: 0.2;
    height: 2px;
    border-radius: 1px;
    margin: auto;
  }
}
.checked {
  top: 4px;
  right: 4px;
}
.create {
  color: var(--primary);
  cursor: pointer;
}
@media (max-width: 750px) {
  .scure-list {
    grid-template-columns: 1fr;
    .card{
      width: 100%;
    }
  }
}
